class ClientGroupController < ApplicationController
layout "office"
active_scaffold :client_groups do | config |
config.columns = [:name, :folder_no, :bin, :folder, :client_since,
                 :contact_person, :Telephone_o, :Telephone_r, :cell_no, :email,
                 :residential_add_1, :residential_add_2, :residential_city, :residential_state, :residential_pin,
                 :permanent_add_1, :permanent_add_2, :permanent_city, :permanent_state, :permanent_pin,
                 :remarks
                 ]
config.list.columns = [:id, :name, :folder_no, :bin, :folder, :client_since]
config.columns[:Telephone_r].label = "Telephone (R)"
config.columns[:Telephone_o].label = "Telephone (O)"

config.columns[:residential_add_1].label = "Residential Address 1"
config.columns[:residential_add_2].label = "Address 2"
config.columns[:residential_city].label = "City"
config.columns[:residential_state].label = "State"
config.columns[:residential_pin].label = "Pin"

config.columns[:permanent_add_1].label = "Permanent Address 1"
config.columns[:permanent_add_2].label = "Address 2"
config.columns[:permanent_city].label = "City"
config.columns[:permanent_state].label = "State"
config.columns[:permanent_pin].label = "Pin"

end
end
